package com.etone.smartAudit.dto.certificate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel(value = "执行人dto消息")
@Data
public class AddHandPersonDTO {

    @NotEmpty(message = "名称不能为空")
    @ApiModelProperty(value = "执行人名称")
    private String handPersonName;

    @NotEmpty(message = "电话不能为空")
    @ApiModelProperty(value = "执行人电话")
    private String handPersonPhone;

    @NotEmpty(message = "邮箱不能为空")
    @ApiModelProperty(value = "执行人邮箱")
    private String handPersonEamil;

    @ApiModelProperty("类型，1-需求单，2-确认单")
    private Integer type;

}
